
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ page language="java" contentType="text/html;UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html> 
    
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/javascript" src="/Fonafe-Bienes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/Fonafe-Bienes/js/jsindex.js"></script>
    <script type="text/javascript" src="/Fonafe-Bienes/js/paginacion/jquery.pagination.js"></script>
    <link href="/Fonafe-Bienes/css/default.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="/Fonafe-Bienes/css/paginacion/pagination.css" />

    <script type="text/javascript">
      var items_per_page = 25;
        <s:set name="items_per_tabla" value="25" />
            (function($) {
                $(document).ready(function(){
                    initPagination();
                });

                function pageselectCallback(page_index, jq){
                    $('#Searchresult').empty();
                    var num_entries = $('#hiddenresult div.result').length;
                    var max_elem = Math.min((page_index+1) * items_per_page, num_entries);

                    for(var i=page_index*items_per_page;i<max_elem;i++) {
                        var new_content = $('#hiddenresult div.result:eq('+i+')').clone();
                        $('#Searchresult').append(new_content);
                    }
                    return false;
                }

                function initPagination() {
                    var num_entries = $('#hiddenresult div.result').length;
                    $("#Pagination").paginationList(num_entries, {
                        callback: pageselectCallback,
                        items_per_page: items_per_page,
                        num_display_entries: 4,
                        num_edge_entries: 2,
                        prev_text: '<<',
                        next_text: '>>'
                    });
                }

            })(jQuery);

      
  </script>
      <!--[if IE]>
		<script type="text/javascript" src="/Fonafe-Bienes/js/jforie.js"></script>
		<link href="/Fonafe-Bienes/css/forie.css" type="text/css" rel="stylesheet" />
	<![endif]-->
  </head>

  
      <body>    
          
          <!-- ********************************************************** -->
          <!-- INIDIO DE CABECERA SUPERIOR: LOGO, BUSQUEDA INICIAL Y MENU PRINCIPAL -->
          <div id="header">
             <jsp:include page="/base/header_Login.jsp" flush="false"/>
			 <jsp:include page="/base/menu_GLC.jsp" >
					<jsp:param name="parametro" value="bandeja" />
		     </jsp:include>             
           </div>
           
           
          <div id="main">

          
          <!-- FIN DE CABECERA SUPERIOR: LOGO, BUSQUEDA INICIAL Y MENU PRINCIPAL -->
          <!-- ********************************************************** -->



          <div id="cuerpo">

               <div class="slide_menu align_left">

                  <div class="c_busqueda">
                      <div class="titulo_c_busqueda">Filtros</div>
                      <ul>
                          <s:form action="buscarConsultaReclamo" name="formBandeja" method="post" theme="simple"> 
                          <li>
                              
                               <div class="sub_menu_sin_hidden">
                                  <div class="bloque">
                                  <ul class="paddins_li">
                                      
                                      <s:if test="%{tipo_consul_rec == 'Consulta'}">
                                           <li>
                                               <input type="radio" name="tipo_consul_rec" checked="true" onclick="document.formBandeja.submit();" value="Consulta"  class="align_left" />
                                               <span class="align_left">Consulta</span>
                                               <div class="clean_space"></div>
                                          </li>
                                      
                                      
                                          <li>
                                              <input type="radio" name="tipo_consul_rec" onclick="document.formBandeja.submit();"  value="Reclamo" class="align_left" />
                                              <span class="align_left">Reclamo</span>
                                              <div class="clean_space"></div>
                                          </li>
                                    </s:if>
                                      
                                    <s:if test="%{tipo_consul_rec == 'Reclamo'}">
                                           <li>
                                              <input type="radio" name="tipo_consul_rec" onclick="document.formBandeja.submit();" value="Consulta"  class="align_left" />
                                               <span class="align_left">Consulta</span>
                                               <div class="clean_space"></div>
                                          </li>
                                      
                                      
                                          <li>
                                              <input type="radio" name="tipo_consul_rec" checked="true" onclick="document.formBandeja.submit();"  value="Reclamo" class="align_left" />
                                              <span class="align_left">Reclamo</span>
                                              <div class="clean_space"></div>
                                          </li>
                                    </s:if>
                                      
                                    <s:if test="%{tipo_consul_rec != 'Reclamo' && tipo_consul_rec != 'Consulta'}">
                                      <li>
                                          <input type="radio" name="tipo_consul_rec" checked="true" onclick="document.formBandeja.submit();" value="Consulta"  class="align_left" />
                                               <span class="align_left">Consulta</span>
                                               <div class="clean_space"></div>
                                          </li>
                                      
                                      
                                          <li>
                                              <input type="radio" name="tipo_consul_rec" onclick="document.formBandeja.submit();"  value="Reclamo" class="align_left" />
                                              <span class="align_left">Reclamo</span>
                                              <div class="clean_space"></div>
                                          </li>
                                    </s:if>
                                      
                                          
                                  </ul>
                                  </div>
                              </div>
                          </li>
                         </s:form>  
                         
                      </ul>
                  </div>

              </div>

              <div class="slide_content align_rigth">
                    <div class="contenido_bandeja_entrada">
                     <div id="Searchresult">Cargando...</div>
                     <br/>
                      <table cellpadding="0" cellspacing="0" class="tabla_bandeja">
                          <thead>
                              <tr>
                                  <th class="width_b1"><span class="bg1"></span>Subasta</th>
                                  <th class="width_b2">Descripci&oacute;n</th>
                                  <th class="width_b3"><span class="bg2"></span>Option</th>
                              </tr>
                          </thead>
                          <div id="hiddenresult" style="display:none;">
                          <div class="result">
                          <tbody>
                            <s:iterator value="listConsultaReclamos" var="bean">
                              <tr>
                                  <td class="width_b1"><s:property value="descripcion"/></td>
                                  <td class="width_b2"><s:property value="nombre"/></td>
                                  <s:url action="detalleBien" id="detBien">
                                    <s:param name="idBien" value="id_bien"></s:param>
                                    <s:param name="tipo_consul_rec" value="tipoConsulta_Reclamo"></s:param>
                                    <s:param name="idSubasta" value="id_subasta"></s:param>
                                  </s:url>
                                  <td class="width_b3"><s:a href="%{detBien}">Ver</s:a></td>
                              </tr>
                              
                            </s:iterator>
                          </tbody>
                         </div>
                         </div>
                      </table>
                     <s:if test="%{listConsultaReclamos.size() == 0}">
                         <div class="msg-noresult msg-info" style="width: 500px;" align="center">
                          Lo sentimos, no encontramos resultados para tu b&uacute;squeda,<br/>
                          intenta otra b&uacute;squeda, se pueden encontrar muchas cosas.
                          </div>
                      </s:if>
                </div>
                 <br/>
                 <div id="Pagination" style="width:950px "></div>
            </div>
              <div class="clean_space"></div>

          </div>

          
      </div>
                                 
      <jsp:include page="/base/footer.jsp" flush="false" />                                  
                                        
    </body>
    

</html>
